\section{Tools}

\subsection{Overview of Tools}

\begin{frame}{Just a couple of tools...}

\begin{table}[h]
	\centering
	\footnotesize
	  \begin{tabular}[h]{|p{2.5cm}|l|l|} \hline
			\specialrule{2pt}{0pt}{0pt}
			\textit{Language} & \textit{Tool} & \textit{Web}  \\
			\specialrule{2pt}{0pt}{0pt}
			\multirow{4}{*}{\parbox{2.2cm}{\textit{Java}}} & JBehave  & http://jbehave.org/\\	
			\cline{2-3}
			 & Concordion & http://www.concordion.org/ \\	
			\cline{2-3}
			 & CoreJet & http://corejet.org/ \\	
			\cline{2-3}
			 & easyb & http://www.easyb.org/ \\	
			\hline	
			\multirow{2}{*}{\parbox{2.2cm}{\textit{Ruby}}} & Cucumber  & http://cukes.info/\\	
			\cline{2-3}
			 & MSpec & https://github.com/machine/ \\		
			\hline			
			\multirow{3}{*}{\parbox{2.2cm}{\textit{.NET}}} & SpecUnit  & http://code.google.com/p/specunit-net/\\	
			\cline{2-3}
			 & SpecFlow & http://www.specflow.org \\		
			\cline{2-3}
			 & NBehave & http://nbehave.codeplex.com \\	
			\hline		
			Python & RSpec & http://rspec.info/ \\			
			\hline
		\end{tabular}		
\end{table}


%\begin{table}[h]
%	\centering
%	  \begin{tabular}[h]{|p{2.5cm}|l|l|} \hline
%			\specialrule{2pt}{0pt}{0pt}
%			\textit{Language} & \textit{Tool} & \textit{Web}  \\
%			\specialrule{2pt}{0pt}{0pt}
%			\multirow{4}{*}{\parbox{2.2cm}{\textit{Java}}} & JBehave  & http://jbehave.org/\\	
%			\cline{2-3}
%			 & Concordion & http://www.concordion.org/ \\	
%			\cline{2-3}
%			 & CoreJet & http://corejet.org/ \\	
%			\cline{2-3}
%			 & easyb & http://www.easyb.org/ \\	
%			\hline	
%			\multirow{2}{*}{\parbox{2.2cm}{\textit{Ruby}}} & Cucumber  & http://cukes.info/\\	
%			\cline{2-3}
%			 & MSpec & https://github.com/machine/machine.specifications \\		
%			\hline			
%			\multirow{3}{*}{\parbox{2.2cm}{\textit{.NET}}} & SpecUnit  & http://code.google.com/p/specunit-net/\\	
%			\cline{2-3}
%			 & SpecFlow & http://www.specflow.org \\		
%			\cline{2-3}
%			 & NBehave & http://nbehave.codeplex.com \\	
%			\hline		
%			Python & RSpec & http://rspec.info/ \\			
%			\hline
%		\end{tabular}
%		\caption{Overview of BDD tools}
%		\label{tab-bdd-tools}		
%\end{table}

\end{frame}



\subsection{JBehave}

\begin{frame}{Some facts!}

\begin{figure}[h]
\begin{center}
\includegraphics[scale=0.35]{images/jbehave-logo.png}
\end{center}
%\caption{JBehave report of the \textit{BMI Calculator Story}}
%\label{fig-bmi-calc-report}
\end{figure}


\begin{itemize}
\item{perform BDD in Java}
\item{first tool to perform BDD}
\item{developed by Dan North in 2003}
\item{available under: \textit{http://jbehave.org}}
\end{itemize}

\end{frame}

\begin{frame}{The basic steps of JBehave}

JBehave follows the following 5 steps to perform BDD:

\begin{enumerate}
\item{Write a Story}
\item{Map Steps to Java}
\item{Configure Stories}
\item{Run Stories}
\item{View Reports.}
\end{enumerate}

\end{frame}


\begin{frame}{Show time - JBehave in Action!}

\centering \Huge{DEMO}

\small{Using examples of Nikolay Vasilev \cite{bdd2}}


\end{frame}


